import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import Layout from '@/components/Layout'
import TestTableList from '@/components/pages/test-table-list'

Vue.use(Router)

export default new Router({
  routes: [
  	{
  		path:'/',
  		name:'index',
  		component:Layout,
      children:[
				{
          path: '/hello',
          name: 'Hello',
          component: Hello
				},
        {
          path: '/test-table-list',
          name: 'test-table-list',
          component: TestTableList
        }
      ]
  	}
  ]
})
